﻿<%@ Page Title="" Language="C#" MasterPageFile="~/admin/admin.master" AutoEventWireup="true" CodeFile="edit.aspx.cs" Inherits="admin_user_edit" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<link href="../artcles/StyleSheet.css" type="text/css" rel="Stylesheet" />
<style type="text/css">
    .left
    {
    	width:700px;
    	height:auto;
    }
</style>
<script type="text/javascript" language="javascript" src="../../js/WdatePicker.js">
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" Runat="Server">
<div class="left">
    <table style="width:100%">
        <tr>
            <td style="text-align:center"><h2>修改用户：<%=user.UserName %></h2></td>
            <td></td>
        </tr>
        <tr>
            <td>
                <table style="width:100%">
                    <tr>
                        <td style="text-align:right;width:27%">用户名:</td>
                        <td style="width:83%"><%=user.UserName %></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">修改密码:</td>
                        <td style="width:83%">
                            <asp:TextBox ID="PwdBox" runat="server" TextMode="Password"></asp:TextBox>留空则不修改</td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">注册时间:</td>
                        <td style="width:83%"><%=user.CreateDate %></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">最近登录:</td>
                        <td style="width:83%"><%=user.LastLogin %></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">电子邮箱:</td>
                        <td style="width:83%"><%=user.Email %></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">昵称:</td>
                        <td style="width:83%">
                            <asp:TextBox ID="NickName" runat="server"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;">性别:</td>
                        <td style="width:83%">
                            <asp:DropDownList ID="SexList" runat="server">
                                <asp:ListItem Value="0">男</asp:ListItem>
                                <asp:ListItem Value="1">女</asp:ListItem>
                            </asp:DropDownList>
                        </td>
                    </tr>
                    <tr>
                        <td style="text-align:right;width:17%">积分:</td>
                        <td style="width:83%">
                            <asp:TextBox ID="ScoreBox" runat="server" Width="50px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;width:17%">在线时长:</td>
                        <td style="width:83%"><%=user.LongLogin %></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;width:17%">电话号码:</td>
                        <td style="width:83%"><%=user.Telephone %></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;width:17%">用户介绍:</td>
                        <td style="width:83%">
                            <asp:TextBox ID="InfoBox" runat="server" Height="63px" TextMode="MultiLine" 
                                Width="340px"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td style="text-align:right;width:17%">用户生日:</td>
                        <td style="width:83%">
                            <asp:TextBox ID="BirthBox" runat="server" onclick="WdatePicker({lang:'auto'})"></asp:TextBox></td>
                    </tr>
                    <tr>
                        <td></td>
                        <td>
                            <asp:Button ID="butYes" runat="server" Text="确认修改" CssClass="bluebutton" 
                                BorderStyle="None" onclick="butYes_Click" /></td>
                    </tr>
                </table>
            </td>
            <td><img src="<%=Request.ApplicationPath %>/upload/heads/<%=user.Headimage %>" width="150px" height="180px" /></td>
        </tr>
    </table>
</div>
</asp:Content>

